<?php
namespace api\controllers;

class VoteLogController extends BaseController
{
    public $modelClass = 'api\models\VoteLog';

    public function actions()
    {
        $actions = parent::actions();
        unset(
            $actions['index'], 
            $actions['delete'], 
            $actions['update'], 
            $actions['view']
        );
        $actions['create']['class'] = 'api\action\votelog\CreateAction';
        return $actions;
    }
}
